package com.aishua.fire.controller.activiti;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

import org.activiti.engine.delegate.DelegateTask;
import org.activiti.engine.delegate.TaskListener;

import lombok.extern.slf4j.Slf4j;

@Slf4j
public class AllSignCompleteTaskListen implements TaskListener{

	@Override
	public void notify(DelegateTask delegateTask) {
		Map<String, Object> variables = delegateTask.getVariables();
		variables.get("rtty");
		 List<String> assigneeList = new ArrayList<String>();
		 assigneeList.add("position");
	     delegateTask.setVariable("rtty",assigneeList);
	}

}
